package com.rui.observer.model.guava;

import com.google.common.eventbus.Subscribe;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class GuavaWeixinUser {

    private String name;

    // 测试
    public static void main(String[] args) {

    }

    @Subscribe
    public void getMessage(Object arg) {
        System.out.println(this.name + "接收到消息:" + arg);
    }
}
